projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1af127
)
scalebutton: Fix comparison for empty icon list
author
Timm Bäder
<mail@baedert.org>
Sun, 8 Oct 2017 18:15:39 +0000
(20:15 +0200)
committer
Timm Bäder
<mail@baedert.org>
Tue, 10 Oct 2017 07:49:35 +0000
(09:49 +0200)
gtk/gtkscalebutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkscalebutton.c
b/gtk/gtkscalebutton.c
index 7e78735bb84580ce6fe1e91632a5a88c9d741dbd..8ffd37867b364b97b307bdaef7750dcaec729464 100644
(file)
--- a/
gtk/gtkscalebutton.c
+++ b/
gtk/gtkscalebutton.c
@@
-976,7
+976,7
@@
gtk_scale_button_update_icon (GtkScaleButton *button)
const gchar *name;
guint num_icons;
- if (!priv->icon_list ||
((char*)priv->icon_list)
[0] == '\0')
+ if (!priv->icon_list ||
priv->icon_list[0]
[0] == '\0')
{
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
"image-missing",